package com.woniu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 *
 * 用户启动类
 */
@SpringBootApplication
@EnableSwagger2
//@MapperScan(basePackages = {"com.woniu.mapper"})
@EnableFeignClients(basePackages = "com.woniu.client")
//@ServletComponentScan
public class UserStart
{
    public static void main( String[] args )
    {
        SpringApplication.run(UserStart.class,args);
    }
}
